/*
 *    Copyright © OpenAtom Foundation.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package com.inspur.edp.bff.api.manager.context;


import lombok.Data;

import java.util.ArrayList;

/**
 * 删除上下文
 * 在删除扩展动作中可以获取到删除的数据id集合
 * 扩展动作执行顺序可参考：<a href=https://open.inspuronline.com/iGIX/#/document/mddoc/docs-gsp-cloud-ds%2Fdev-guide-beta%2Fadvanced-development%2Fvo-relatedcomponent-development%2F%E6%89%A9%E5%B1%95%E5%8A%A8%E4%BD%9C%2Fvo%E6%89%A9%E5%B1%95%E5%8A%A8%E4%BD%9C.md">点击这里</a>查看。
 */
@Data
public class DeleteContext {
    private String dataId;

    private ArrayList<String> dataIds;

    /**
     * 获取删除的数据id集合
     *
     * @return
     */
    public ArrayList<String> getDataIds() {
        return dataIds;
    }

    public void setDataIds(ArrayList<String> value) {
        this.dataIds = value;
    }
}
